package 面向对象中级.继承;

public class Cylinder extends Circle{
    private double length;

    public Cylinder(double length) {
        this.length = 1;
    }

    public void setLength(double length){

    }

    public double getLength() {
        return length;
    }

    public double findVolume(){
        return Pi*length;
    }
}
